All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.accessibility.AccessibleValue

public interface AccessibleValue
The AccessibleValue interface should be supported by any object that supports a numerical value (e.g., a scroll bar). This interface provides the standard mechanism for an assistive technology to determine and set the numerical value as well as get the minimum and maximum values. Applications can determine if an object supports the AccessibleValue interface by first obtaining its AccessibleContext (see Accessible) and then calling the getAccessibleValue method of AccessibleContext. If the return value is not null, the object supports this interface.

See Also:
Accessible, getAccessibleContext, AccessibleContext, getAccessibleValue

Method Index

 o getCurrentAccessibleValue()
Get the value of this object as a Number.
 o getMaximumAccessibleValue()
Get the maximum value of this object as a Number.
 o getMinimumAccessibleValue()
Get the minimum value of this object as a Number.
 o setCurrentAccessibleValue(Number)
Set the value of this object as a Number.

Methods

 o getCurrentAccessibleValue
 public abstract Number getCurrentAccessibleValue()
Get the value of this object as a Number. If the value has not been set, the return value will be null.

Returns:
value of the object
See Also:
setCurrentAccessibleValue
 o setCurrentAccessibleValue
 public abstract boolean setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.

Returns:
True if the value was set; else False
See Also:
getCurrentAccessibleValue
 o getMinimumAccessibleValue
 public abstract Number getMinimumAccessibleValue()
Get the minimum value of this object as a Number.

Returns:
Minimum value of the object; null if this object does not have a minimum value
See Also:
getMaximumAccessibleValue
 o getMaximumAccessibleValue
 public abstract Number getMaximumAccessibleValue()
Get the maximum value of this object as a Number.

Returns:
Maximum value of the object; null if this object does not have a maximum value
See Also:
getMinimumAccessibleValue

All Packages  Class Hierarchy  This Package  Previous  Next  Index